package com.yundian.vo;

import java.util.Date;

/**
 * Shangping entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Shangping implements java.io.Serializable {

	// Fields

	private Integer spId;
	private Shop shop;
	private String spName;
	private String spImg;
	private Double spPrice;
	private String spDescript;
	private Integer spState;
	private Date spAddtime;
	private Date spModtime;
	private String spRemark;

	// Constructors

	/** default constructor */
	public Shangping() {
	}

	/** minimal constructor */
	public Shangping(String spName, String spImg, Double spPrice,
			String spDescript, Integer spState, Date spAddtime, Date spModtime) {
		this.spName = spName;
		this.spImg = spImg;
		this.spPrice = spPrice;
		this.spDescript = spDescript;
		this.spState = spState;
		this.spAddtime = spAddtime;
		this.spModtime = spModtime;
	}

	/** full constructor */
	public Shangping(Shop shop, String spName, String spImg, Double spPrice,
			String spDescript, Integer spState, Date spAddtime, Date spModtime,
			String spRemark) {
		this.shop = shop;
		this.spName = spName;
		this.spImg = spImg;
		this.spPrice = spPrice;
		this.spDescript = spDescript;
		this.spState = spState;
		this.spAddtime = spAddtime;
		this.spModtime = spModtime;
		this.spRemark = spRemark;
	}

	// Property accessors

	public Integer getSpId() {
		return this.spId;
	}

	public void setSpId(Integer spId) {
		this.spId = spId;
	}

	public Shop getShop() {
		return this.shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public String getSpName() {
		return this.spName;
	}

	public void setSpName(String spName) {
		this.spName = spName;
	}

	public String getSpImg() {
		return this.spImg;
	}

	public void setSpImg(String spImg) {
		this.spImg = spImg;
	}

	public Double getSpPrice() {
		return this.spPrice;
	}

	public void setSpPrice(Double spPrice) {
		this.spPrice = spPrice;
	}

	public String getSpDescript() {
		return this.spDescript;
	}

	public void setSpDescript(String spDescript) {
		this.spDescript = spDescript;
	}

	public Integer getSpState() {
		return this.spState;
	}

	public void setSpState(Integer spState) {
		this.spState = spState;
	}

	public Date getSpAddtime() {
		return this.spAddtime;
	}

	public void setSpAddtime(Date spAddtime) {
		this.spAddtime = spAddtime;
	}

	public Date getSpModtime() {
		return this.spModtime;
	}

	public void setSpModtime(Date spModtime) {
		this.spModtime = spModtime;
	}

	public String getSpRemark() {
		return this.spRemark;
	}

	public void setSpRemark(String spRemark) {
		this.spRemark = spRemark;
	}

}